package com.dgut.crm.system.dao;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

import com.dgut.crm.system.entity.Department;

@Repository
public interface DepartmentRepository extends PagingAndSortingRepository<Department,Long>,JpaSpecificationExecutor<Department>
{
	public Department findByName(String name);
}
